From 5abb86deb59ea6876acb6e729f7e47ae99e6b195 Mon Sep 17 00:00:00 2001 From: Will Sabransky Date: Sun, 20 Jul 2025 17:05:44 -0500 Subject: [PATCH] ostree-prepare-root: remove duplicate transient directory Only create the transient etc directory once to prevent failures due to directory existence. --- src/libotcore/otcore-prepare-root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libotcore/otcore-prepare-root.c b/src/libotcore/otcore-prepare-root.c index a52d711d..893ef555 100644 --- a/src/libotcore/otcore-prepare-root.c +++ b/src/libotcore/otcore-prepare-root.c @@ -408,7 +408,7 @@ otcore_mount_etc (GKeyFile *config, GVariantBuilder *metadata_builder, const cha { const char *path; int mode; - } subdirs[] = { { ovldir, 0700 }, { upperdir, 0755 }, { workdir, 0755 } }; + } subdirs[] = { { upperdir, 0755 }, { workdir, 0755 } }; for (int i = 0; i < G_N_ELEMENTS (subdirs); i++) { if (mkdirat (AT_FDCWD, subdirs[i].path, subdirs[i].mode) < 0) -- 2.30.2